package com.mz.ozy.mvp.model;

import android.app.Activity;

import com.mz.ozy.constants.Constants;
import com.mz.ozy.net.RetrofitUtils;
import com.mz.ozy.utils.JsonUtils;

import java.util.HashMap;
import java.util.Map;

import io.reactivex.Observable;
import okhttp3.ResponseBody;

/**
 * Created by Administrator on 2018/12/11.
 */

public class HotSearchModel {

    public Observable<ResponseBody> onHotSearch(Activity activity) {
        HashMap<String, String> map = new HashMap<>();
        return RetrofitUtils.getApiService(activity).post(Constants.TransCode.TransCode10124, JsonUtils.requestJsonDate(map), Constants.tokenId);
    }

}
